﻿using System;
using System.ComponentModel.DataAnnotations;

namespace iss.sg4210.se18.team6s.jass.DAL
{
    [MetadataType(typeof(SkillTypeMetaData))]
    public partial class SkillType
    {
    }

    [MetadataType(typeof(SkillMetaData))]
    public partial class Skill
    {
    }

    public class SkillMetaData
    {
        #region Primitive Properties
        [Required]
        public object Name
        {
            get;
            set;
        }

        public object Description
        {
            get;
            set;
        }

        [Display(Name="Skill Type")]
        public object SkillTypeId
        {
            get;
            set;
        }
        #endregion
    }

    public class SkillTypeMetaData
    {
        #region Primitive Properties

        [Required]
        public object Name
        {
            get;
            set;
        }
        public object Description
        {
            get;
            set;
        }

        public object Id
        {
            get;
            set;
        }
        #endregion
    }
}
